package com.ejuornal.util;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpSession;

import org.apache.struts2.ServletActionContext;

public class SessionUtils {

	public static ServletContext getApplication() {
		return ServletActionContext.getServletContext();
	}
	
	public static HttpSession getSession() {
		return ServletActionContext.getRequest().getSession();
	}
}
